#include <threadpool.hpp>
extern "C"
{
#include "lua.h"
#include <lualib.h>
#include <lauxlib.h>
}
#include <iostream>
#include <luabind/luabind.hpp>
using namespace luabind;
namespace luatp{
class threadpool
{
public:
    threadpool()
    {
        std::cout<<"a threadpool created!."<<std::endl;
    }

};
}
extern "C" int luaopen_luatp(lua_State * L)
{

    std::cout<<"lua thread pool."<<std::endl;

    module(L)
    [
        class_<luatp::threadpool>("threadpool")
//        .def()


    ];


    return 0;
}
